package com.jiyun.feign;

import com.jiyun.pojo.NCustomer;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient(name = "user-service")
public interface UserFeignService {
    @GetMapping("customer/findOne")
    public List<NCustomer> findOne();
}
